function $(id){return document.getElementById(id);}
var mid_num = 0;
window.onload = function () {
    $("li_1").onclick = function () {
        mid_num = 1;
        if (mid_num == 1) {
            $("mid").className = "xian";
            $("li_1").style.background = "#E3E3E3";
            $("li_2").style.background = "#EAEAEA";
        }
    };
    $("li_2").onclick = function () {
        mid_num = 0;
        if (mid_num == 0) {
            $("mid").className = "yin";
            $("li_1").style.background = "#EAEAEA";
            $("li_2").style.background = "#E3E3E3";
        }
    };
}